.class Lcom/brixd/niceapp/service/LoginService$1$2;
.super Ljava/lang/Object;
.source "LoginService.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/service/LoginService$1;->onComplete(Lcn/sharesdk/framework/Platform;ILjava/util/HashMap;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/service/LoginService$1;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/service/LoginService$1;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/service/LoginService$1;

    .prologue
    .line 80
    iput-object p1, p0, Lcom/brixd/niceapp/service/LoginService$1$2;->this$0:Lcom/brixd/niceapp/service/LoginService$1;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .registers 7

    .prologue
    .line 84
    sget-object v1, Lcom/brixd/niceapp/service/LoginService$SNSPlatform;->Weibo:Lcom/brixd/niceapp/service/LoginService$SNSPlatform;

    .line 85
    .local v1, "snsPlatform":Lcom/brixd/niceapp/service/LoginService$SNSPlatform;
    sget-object v0, Lcn/sharesdk/sina/weibo/SinaWeibo;->NAME:Ljava/lang/String;

    iget-object v2, p0, Lcom/brixd/niceapp/service/LoginService$1$2;->this$0:Lcom/brixd/niceapp/service/LoginService$1;

    iget-object v2, v2, Lcom/brixd/niceapp/service/LoginService$1;->val$platform:Lcn/sharesdk/framework/Platform;

    invoke-virtual {v2}, Lcn/sharesdk/framework/Platform;->getName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_40

    .line 86
    sget-object v1, Lcom/brixd/niceapp/service/LoginService$SNSPlatform;->Weibo:Lcom/brixd/niceapp/service/LoginService$SNSPlatform;

    .line 91
    :cond_14
    :goto_14
    iget-object v0, p0, Lcom/brixd/niceapp/service/LoginService$1$2;->this$0:Lcom/brixd/niceapp/service/LoginService$1;

    iget-object v0, v0, Lcom/brixd/niceapp/service/LoginService$1;->val$context:Landroid/content/Context;

    iget-object v2, p0, Lcom/brixd/niceapp/service/LoginService$1$2;->this$0:Lcom/brixd/niceapp/service/LoginService$1;

    iget-object v2, v2, Lcom/brixd/niceapp/service/LoginService$1;->val$platform:Lcn/sharesdk/framework/Platform;

    invoke-virtual {v2}, Lcn/sharesdk/framework/Platform;->getDb()Lcn/sharesdk/framework/PlatformDb;

    move-result-object v2

    invoke-virtual {v2}, Lcn/sharesdk/framework/PlatformDb;->getUserId()Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/brixd/niceapp/service/LoginService$1$2;->this$0:Lcom/brixd/niceapp/service/LoginService$1;

    iget-object v3, v3, Lcom/brixd/niceapp/service/LoginService$1;->val$platform:Lcn/sharesdk/framework/Platform;

    invoke-virtual {v3}, Lcn/sharesdk/framework/Platform;->getDb()Lcn/sharesdk/framework/PlatformDb;

    move-result-object v3

    invoke-virtual {v3}, Lcn/sharesdk/framework/PlatformDb;->getToken()Ljava/lang/String;

    move-result-object v3

    iget-object v4, p0, Lcom/brixd/niceapp/service/LoginService$1$2;->this$0:Lcom/brixd/niceapp/service/LoginService$1;

    iget-object v4, v4, Lcom/brixd/niceapp/service/LoginService$1;->val$platform:Lcn/sharesdk/framework/Platform;

    invoke-virtual {v4}, Lcn/sharesdk/framework/Platform;->getDb()Lcn/sharesdk/framework/PlatformDb;

    move-result-object v4

    invoke-virtual {v4}, Lcn/sharesdk/framework/PlatformDb;->getExpiresTime()J

    move-result-wide v4

    invoke-static/range {v0 .. v5}, Lcom/brixd/niceapp/service/LoginService;->signupUser(Landroid/content/Context;Lcom/brixd/niceapp/service/LoginService$SNSPlatform;Ljava/lang/String;Ljava/lang/String;J)V

    .line 93
    return-void

    .line 87
    :cond_40
    sget-object v0, Lcn/sharesdk/tencent/qzone/QZone;->NAME:Ljava/lang/String;

    iget-object v2, p0, Lcom/brixd/niceapp/service/LoginService$1$2;->this$0:Lcom/brixd/niceapp/service/LoginService$1;

    iget-object v2, v2, Lcom/brixd/niceapp/service/LoginService$1;->val$platform:Lcn/sharesdk/framework/Platform;

    invoke-virtual {v2}, Lcn/sharesdk/framework/Platform;->getName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_14

    .line 88
    sget-object v1, Lcom/brixd/niceapp/service/LoginService$SNSPlatform;->QQ:Lcom/brixd/niceapp/service/LoginService$SNSPlatform;

    goto :goto_14
.end method
